#include "Math.h"

double mypower(double base, int exp)
{
    int result = base;
    int i;
    if (exp == 0) {
        return 1;
    }

    for(i = 1; i < exp; i++){
        result = result * base;
    }
    return result;
}
